package com.zzh.partnersys.chat.message.request;

import com.zzh.partnersys.chat.message.Message;
import lombok.Data;
import lombok.ToString;import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class LoginRequestBindMessage extends Message {
    private Long fromUid;//用户id

    public LoginRequestBindMessage() {
    }

    public LoginRequestBindMessage(Long uid) {
        this.fromUid = uid;
        this.setMessageType(LoginRequestBindMessage);
    }

    @Override
    public int getMessageType() {
        return LoginRequestBindMessage;
    }

    @Override
    public void setMessageType(int messageType) {
        super.setMessageType(messageType);
    }
}
